package com.common.singleton;

/**
 *
 * 饿汉模式:在类加载的时候已经产生--可以使用
 *
 * Created by Administrator on 2018-9-13 0013.
 */
public class SingleTonHungary {

    private final static SingleTonHungary SINGLE_TON = new SingleTonHungary();

    private SingleTonHungary(){}

    public static SingleTonHungary getInstance() {
        return SINGLE_TON;
    }

}
